package com.craney.aboutDrawing
{
	import flash.display.Shape;
	import flash.display.Sprite;
	
	public class TestCurve
	{
		private var shp:Shape = new Shape();
		
		
		public function TestCurve(ps:Sprite)
		{
			shp.x = 100;
			shp.graphics.moveTo(100, 100);
			
			shp.graphics.lineStyle(5, 0xffcc00);
			
			shp.graphics.curveTo(100, 600, 0, 200)
			
			shp.graphics.drawCircle(100, 100, 10);
			shp.graphics.drawCircle(0, 200, 20);
			
			ps.addChild(shp);
		}

	}
}